The modal dialog box forces the user to act. It does not allow any user interaction outside the dialog box, therefore the user must dismiss it before doing anything else.
This type of dialog is of a fixed position and cannot be dragged around the screen.
The modal dialog usually has two buttons associate with it: OK and Cancel. The Ok button dismisses the dialog box and performs the original command. The Cancel button dismisses the dialog box and cancels the original command.
-- part contents for card part 4
----- text -----
Modeless Dialog Box
-- part contents for card part 5
----- text -----
The modeless dialog box allows the user interaction outside the dialog box without dismissing it. This type of dialog is closed by clicking the close box or by chosing Close from under the File menu.
The buttons associated with this type of dialog never dismiss the dialog. Clicking the OK button will perform the original command and Cancel will dismiss the original command. ShowDialog XCMD does NOT support modeless dialog boxes.